//
//  ListCell.m
//  爱鲜蜂练习
//
//  Created by 夏航军 on 16/10/15.
//  Copyright © 2016年 future. All rights reserved.
//

#import "ListCell.h"

@interface ListCell ()
@property (weak, nonatomic) IBOutlet UILabel *name;
@property (weak, nonatomic) IBOutlet UILabel *price;
@property (weak, nonatomic) IBOutlet UIButton *reduceBtn;
@property (weak, nonatomic) IBOutlet UILabel *numLable;
@property (weak, nonatomic) IBOutlet UIButton *dirBtn;


@end

@implementation ListCell

+(instancetype)settingCell:(UITableView *)tableView withIdentifier:(NSString *)identifier indexPath:(NSIndexPath *)indexPath{
    ListCell *cell;
    NSArray *array = @[@"ListCell",@"ListCell1",@"ListCell2",@"ListCell3",@"ListCell4"];
    for (NSString *str in array) {
        if (identifier == str) {
            
            cell = [tableView dequeueReusableCellWithIdentifier:identifier forIndexPath:indexPath];
        }
    }
    return cell;
}



//根据模型数据设置相应的控件


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
